/**
 * 
 */
package cn.com.xf.web.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import cn.com.xf.common.AbstractBaseController;
import cn.com.xf.common.Constants;
import cn.com.xf.web.form.NoticeForm;

/**
 * @author Administrator
 * 
 */
@Controller
public class IndexController extends AbstractBaseController {

	@RequestMapping
	public ModelAndView index(HttpServletRequest request, HttpServletResponse response, NoticeForm form)
			throws Exception {
		ModelAndView mv = new ModelAndView("/index", Constants.FORM_COMMAND_KEY, form);
		return mv;
	}
}
